Skip to content

Only add httpServiceProxyRegistry bean when necessary #35307

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

philwebb
Copy link
Member

Update AbstractHttpServiceRegistrar so that the
httpServiceProxyRegistry bean is only added when registrations are found.

Update `AbstractHttpServiceRegistrar` so that the
`httpServiceProxyRegistry` bean  is only added when registrations
are found.
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Aug 11, 2025
@philwebb
Copy link
Member Author

This update helps Spring Boot since we always have a AbstractClientHttpServiceRegistrar but it might not find any @HttpServiceClient interfaces. Another option would be to make the registerBeanDefinitions non-final so that we can override them.

@rstoyanchev rstoyanchev self-assigned this Aug 12, 2025
@rstoyanchev rstoyanchev added in: web Issues in web modules (web, webmvc, webflux, websocket) type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Aug 12, 2025
@rstoyanchev rstoyanchev added this to the 7.0.0-M8 milestone Aug 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants